﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysView.aspx.cs" Inherits="TradeTestWeb.SysView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>医保工具-系统视图</title>
    <script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#btnOk").click(function () {
                runCs("", "", "");
            });
        });

        function runCs(strPath, yid, xtid) {
            var wsh = new ActiveXObject("WScript.Shell");
            if (wsh) {
                try {
                    //wsh.CurrentDirectory = "E:\StoreHouse\GoogleCode\MediSIIM\MediSIIMTool\Tools\TradeTest";
                    wsh.run('TradeTest.exe', 5, false);
                    for (var i = 0; i < wsh.SpecialFolders.length; i++) {
                        //document.writeln(wsh.SpecialFolders.Item(i) + "<br/>");
                    }
                } catch (e) {
                    $("#openfile").click();
                    wsh.run($("#openfile").val(), 5, false);
                }
            }
        }

    </script>
    <style type="text/css">
        .appitem
        {
            width: 305px;
            display: inline-block;
            height: 148px;
            margin: 6px;
        }
    </style>
</head>
<body>
    <input type="file" id="openfile" size="28" style="display: none;" />
    <div>
        <h2>
            医保中间件信息集成平台</h2>
    </div>
    <div style="width: 100%; display: inline-block; height: 100%;">
        <div class="appitem">
            <img src="emr.png" alt="" /><span style="font-weight: bold; color: Gray; text-decoration: underline;
                cursor: pointer; vertical-align: top;">浙江省一卡通</span>
        </div>
        <div class="appitem">
            <img src="emr.png" alt="" /><span style="font-weight: bold; color: Gray; text-decoration: underline;
                cursor: pointer; vertical-align: top;">浙江省一卡通</span>
        </div>
        <div class="appitem">
            <img src="emr.png" alt="" /><span style="font-weight: bold; color: Gray; text-decoration: underline;
                cursor: pointer; vertical-align: top;">浙江省一卡通</span>
        </div>
        <br />
        <div class="appitem">
            <img src="emr.png" alt="" /><span style="font-weight: bold; color: Gray; text-decoration: underline;
                cursor: pointer; vertical-align: top;">浙江省一卡通</span>
        </div>
    </div>
</body>
</html>
